package org.jeecg.modules.user.customer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.problem.entity.BikeProblem;
import org.jeecg.modules.system.problem.entity.BikeProblemAppeal;
import org.jeecg.modules.utils.BikeResult;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: 常见问题管理
 * @Author: jeecg-boot
 * @Date:   2021-07-01
 * @Version: V1.0
 */
public interface ProblemService extends IService<BikeProblem> {

    /**
     * 常见问题
     */
    BikeResult getProblemList(String id,Integer pageNum,Integer pageSize);

    /**
     * 提交诉求
     */
    BikeResult submitAppeal(BikeProblemAppeal bikeProblemAppeal,HttpServletRequest request);


    /**
     * 我的诉求
     */
    BikeResult getAppealList(String id,String processStatus,Integer pageNum,Integer pageSize,HttpServletRequest request);

}
